package top.yxqz.springmvc.annotation.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: 余小小
 * @date: 2023/5/23
 * @description：
 */
@RestController
@RequestMapping("/hello")
public class HelloController {

    @GetMapping("/today")
    public String todayData() {
        return "2023年5月23日";
    }
}
